import math
a = input()
b = input()
a = float(a)
b = float(b)
d = (a**2+b**2)**0.5
print(f"对角度长度为:{d:.1f}cm.")